<template>
  <div>
      <el-header style="height: 50px;">
          <div class="headerLogo">
            <div style="height: 100%;" @click="postData()">
              <img class="Logo" src="../../assets/image/EBI_logo.png" alt="" >
            </div>
              
          </div>
           <div class="headerMenu">
              <el-button type="text" icon="el-icon-time"></el-button>
              <el-button type="text" icon="el-icon-message"></el-button>
              <el-button type="text" icon="el-icon-bell"></el-button> 
              <el-button type="text" icon="el-icon-user"></el-button> 
              
                 <router-link to="/" style="color: #fff">
                 <el-button type="text">
                    <i class="iconfont icons-guanbi" title="退出登录"></i>
                    </el-button> 
                 </router-link>
              
          </div>
      </el-header>
  </div>
</template>
<style>

a {
  color: #8a8a8a;
}
.Logo {
  height: 90%;
  display: inline-block;
  vertical-align: middle;
  padding-bottom: 4px;
}
.white {
  color: #ffffff;
}
.bannerItem {
  font-size: 0.18rem;
  color: #ffffff;
  padding: 6px;
  border-radius: 5px;
}
.el-button--text {
  color: #fff !important;
}
.el-container {
  display: flex;
  height: 100%;
}
.el-header {
  background-color: #4c81c0;
  color: #333;
  line-height: 50px;
  display: flex;
}
.headerMenu {
  flex: 1;
  text-align: right;
}

.menuList {
  width: 30vw;
}
.menuList ul {
  display: flex;
  flex-wrap: wrap;
}
.menuList ul li,
.user ul li {
  padding: 0.2rem 0.1rem;
  width: 33%;
  transition: all 0.1s ease;
  color: #8a8a8a;
  border-radius: 3px;
}
.user ul li {
  width: 100%;
}
.menuList ul li:hover,
.user ul li:hover {
  background-color: sandybrown;
  color: #fff !important;
}

.menuList .router-link-active {
  background-color: sandybrown;
  color: #fff !important;
}
.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  flex: 1;
  padding: 0;
}
.bannerItem.router-link-active {
  background-color: #fff;
  color: #475669;
}
[class*=" el-icon-"], [class^="el-icon-"] {
  font-size: 20px;
}
</style>

